# -*- coding: utf-8 -*-
# @Time        :2025/3/13 8:05
# @Author      :文刀水寿
# @File        : 27_爬虫_selenium_淘宝网测试-chrome.py.py
"""
 @Description :
"""
from selenium import webdriver
from selenium.webdriver.chrome.service import Service

driver_path = r'D:\PythonCharm\PyCharmProject\pythonProject\爬虫\chromedriver.exe'

service = Service(executable_path=driver_path)
url = 'https://huodong.taobao.com/wow/a/act/tao/dailygroup/23509/24308/wupr?spm=a21bo.jianhua/a.201859.8.54252a89whGzCa&wh_pid=daily-560791&disableNav=YES&status_bar_transparent=true'
browser = webdriver.Chrome(service=service)
browser.get(url)
content = browser.page_source
print(content)
